package org.chen.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.chen.domain.dto.VoiceQueryDTO;
import org.chen.domain.entity.VideoVoice;
import org.chen.domain.response.PageResult;
import org.chen.domain.vo.VoiceVO;

import java.util.List;
import java.util.Map;

public interface VoiceService extends IService<VideoVoice> {
    /**
     * 获取语音列表
     */
    PageResult<VoiceVO> getVoiceList(VoiceQueryDTO voiceQueryDTO);

    /**
     * 获取语音统计信息
     * @return Map<String, Map<String, Map<String, Long>>> 外层Map key为统计类型，内层Map为具体统计数据
     */
    Map<String, Map<String, Map<String, Long>>> getVoiceStats();


    VideoVoice getVoiceById(String id);
}
